package com.rightin.reader.hf.rfidenum;

import java.util.HashMap;

/* loaded from: hf_reader.jar:com/rightin/reader/hf/rfidenum/EnumReaderADDL.class */
public enum EnumReaderADDL {
    SetBaudRate(1),
    SlaveId(2),
    ScanMode(3),
    ScanBlockId(4),
    ScanBlockNums(5),
    ScanAfiMode(6),
    BuzzCascade(7),
    RelayCascade(8),
    ScanTimes(9),
    ScanReadOnly(10),
    ScanAsciiMode(11),
    ScanEnterMode(12);
    
    private int intValue;
    private static HashMap<Integer, EnumReaderADDL> mappings;

    private static synchronized HashMap<Integer, EnumReaderADDL> getMappings() {
        if (mappings == null) {
            mappings = new HashMap<>();
        }
        return mappings;
    }

    EnumReaderADDL(int value) {
        this.intValue = value;
        getMappings().put(Integer.valueOf(value), this);
    }

    public int getValue() {
        return this.intValue;
    }

    public static EnumReaderADDL forValue(int value) {
        return getMappings().get(Integer.valueOf(value));
    }
}
